﻿using Tinter.Models;
using Tinter.Models.Modules.Finance;
using Tinter.Infrastructure.Data.UnitOfWork;

namespace Tinter.Infrastructure.Data.Modules.Finance
{
    /// <summary>
    /// The expense repository implementation.
    /// </summary>
    public class ExpenseProjectRepository : Repository<MyExpenseProject>, IExpenseProjectRepository
    {
        #region Members

        private IMainUnitOfWork unitOfWork;

        #endregion

        #region Constructor

        /// <summary>
        /// Create a new instance of this repository
        /// </summary>
        /// <param name="unitOfWork">Associated unit of work</param>
        public ExpenseProjectRepository(IMainUnitOfWork unitOfWork)
            : base(unitOfWork)
        {
            this.unitOfWork = unitOfWork;
        }

        #endregion
    }
}
